package com.oneinlet

import com.oneinlet.client.YClient

/**
 * Created by WangZiHe on 2019/1/7/007
 * QQ/WeChat:648830605
 * QQ-Group:368512253
 * Blog:www.520code.net
 * Github:https://github.com/yancheng199287
 */

fun main(args: Array<String>) {
    val remoteHost = AppConf.getStringValue()["remoteHost"]!!
    val remotePort = AppConf.getStringValue()["remotePort"]!!.toInt()
    val path = System.getProperty("user.dir")
    val info = "hi，welcome to use pandora， if you have question，join my QQ-Group:368512253 \ncurrent path：$path \nremoteHost:$remoteHost remotePort:$remotePort"
    println(info)
    YClient(remoteHost, remotePort).startYClient()
}